﻿using Demo.Filter;
using LightWadf.Processor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Demo.Processor
{
    [TestFilter]
    [TestFilter2]
    public class TestRestfulProcessor : RestfulProcessor
    {
        public override void InitRouteRule()
        {
            this.AddRouteRule("/restful/test", "Test");
        }

        public string Test(HttpContext context)
        {
            return "test restful string";
        }
    }
}